import request from  "@/utils/request"


//查询多有分类数据
export const getAllCategories = () => request({
    url:"/api/pro/categorylist"
})


// 查询分类下的品牌列表数据
// @param category  分类

export const getBrandsBycategory = (category:string) =>request({
    url:"/api/pro/categorybrandlist",
    params:{
        category,
    }
})